-
Home
-
Travelpayouts
-
1.0.18
-
Code
-
Classes
- Model
| Total Complexity |
91 |
| Dependencies |
10 |
| Dependents |
1 |
| Total lines |
610 |
| Lines of code |
256 |
| Logical lines of code |
137 |
| Comment lines |
262 |
| Methods |
34 |
| Properties |
3 |
Methods 34
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| scenarios() |
B |
46 |
17 |
41 |
| get_active_validators() |
S |
54 |
7 |
20 |
| validate() |
S |
53 |
6 |
22 |
| safe_attributes() |
S |
59 |
5 |
14 |
| set_attributes() |
S |
63 |
5 |
10 |
| active_attributes() |
S |
59 |
4 |
14 |
| get_attributes() |
S |
61 |
4 |
13 |
| add_errors() |
S |
65 |
4 |
9 |
| create_validators() |
S |
62 |
4 |
10 |
| getErrors() |
S |
70 |
3 |
6 |
| attributes() |
S |
63 |
3 |
10 |
| has_errors() |
S |
70 |
2 |
6 |
| get_error() |
S |
78 |
2 |
3 |
| clear_errors() |
S |
71 |
2 |
6 |
| get_validators() |
S |
71 |
2 |
6 |
| get_attribute_label() |
S |
74 |
2 |
4 |
| camel2words() |
S |
65 |
2 |
8 |
| rules() |
S |
82 |
1 |
3 |
| add_error() |
S |
80 |
1 |
3 |
| attribute_labels() |
S |
82 |
1 |
3 |
| generate_attribute_label() |
S |
79 |
1 |
3 |
| extraAttributes() |
S |
82 |
1 |
3 |
| getExtraAttributes() |
S |
73 |
1 |
5 |
| is_attribute_safe() |
S |
79 |
1 |
3 |
| before_validate() |
S |
82 |
1 |
3 |
| after_validate() |
S |
91 |
1 |
2 |
| get_scenario() |
S |
82 |
1 |
3 |
| set_scenario() |
S |
81 |
1 |
3 |
| fields() |
S |
76 |
1 |
4 |
| getIterator() |
S |
76 |
1 |
4 |
| offsetExists() |
S |
80 |
1 |
3 |
| offsetGet() |
S |
82 |
1 |
3 |
| offsetSet() |
S |
81 |
1 |
3 |
| offsetUnset() |
S |
81 |
1 |
3 |